package com.liuhaoqi.raletiveblog.service;

import com.liuhaoqi.raletiveblog.entity.Comment;
import com.liuhaoqi.raletiveblog.entity.dto.CommentDto;
import com.liuhaoqi.raletiveblog.result.business.PageResult.CommentMangPageResult;

import java.util.List;

/**
 * @Author liuhaoqi
 * @Date 2020/4/25 21:57
 * @Version 1.0
 */
public interface CommentService {
    int getCommentsnum2();
    int getCommentsnum1();
    int updateCommentByCommentId(Comment comment);
    int deleteCommentByCommentId(Long commentId);
    List<CommentMangPageResult> getCommentsMang(int start,int pageSize);
    List<CommentMangPageResult> getCommentsMangTest(int start,int end,int pagesize);
    int getCommentsMangList();
    int insertCommet(Comment comment);

     List<CommentDto> getCommentsList(Long blogId);


}
